package com.springboot.demo.entity.data;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import javax.validation.Valid;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author wubc683
 * @desc
 * @date 2021-10-13 9:02
 */
@Data
public class MsgData {
    @NotNull(message = "消息id不能为null")
    @ApiModelProperty(value = "消息id",required = true)
    private Long msgId;
    @ApiModelProperty(value = "消息回复码，1表示同意，2表示拒绝",required = true)
    @NotNull(message = "消息回复码不能为null")
    private Integer ansCode;
}
